package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_card_daily_reward", desc = "特权卡每日奖励", autoSave = true, uploadCk = true)
public class LogCardDailyReward extends ServerBaseLog {

	@FieldTypeAnnotation(desc = "用户id", isIndex = true)
	private long userId;
	@FieldTypeAnnotation(desc = "类型")
	private int type;
	@FieldTypeAnnotation(desc = "是否自动领取")
	private boolean isAuto;
	@FieldTypeAnnotation(desc = "领取天数")
	private int days;
	@FieldTypeAnnotation(desc = "奖励")
	private String reward;

	public LogCardDailyReward(long userId, int type, boolean isAuto, int days, String reward) {
		this.userId = userId;
		this.type = type;
		this.isAuto = isAuto;
		this.days = days;
		this.reward = reward;
	}

	public long getUserId() {
		return userId;
	}

}
